package cn.sumpu.app.guoguojie.domain;

import java.io.Serializable;
import java.util.Date;

import cn.sumpu.app.guoguojie.constant.Expression;

public class Comment implements Serializable {

	private static final long serialVersionUID = 4518309269850152507L;
	private Integer id;
	private String identifier;
	private String member;
	private String username;
	private String content;
	private String commentId;
	private String commentIdType;
	private String postIp;
	private Date gmtCreated;
	private Date gmtModified;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getIdentifier() {
		return identifier;
	}

	public void setIdentifier(String identifier) {
		this.identifier = identifier;
	}

	public String getMember() {
		return member;
	}

	public void setMember(String member) {
		this.member = member;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getCommentId() {
		return commentId;
	}

	public void setCommentId(String commentId) {
		this.commentId = commentId;
	}

	public String getCommentIdType() {
		return commentIdType;
	}

	public void setCommentIdType(String commentIdType) {
		this.commentIdType = commentIdType;
	}

	public String getPostIp() {
		return postIp;
	}

	public void setPostIp(String postIp) {
		this.postIp = postIp;
	}

	public Date getGmtCreated() {
		return gmtCreated;
	}

	public void setGmtCreated(Date gmtCreated) {
		this.gmtCreated = gmtCreated;
	}

	public Date getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}
	public String getReplaceContent(){
		return Expression.replaceAll(content);
	}

}
